import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'

import 'bootstrap/dist/css/bootstrap.css'

import axios from 'axios'
 
//axios不支持Vue.use  可以添加原型使用
Vue.prototype.$http = axios

Vue.config.productionTip = false

import Hearder from './components/hearder.vue'
Vue.component('Hearder',Hearder)
//引入sass
import './style.scss'
//导入高德地图定位
import AMap from 'vue-amap';
Vue.use(AMap);

//百度地图
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap, {
  ak: 'gyQnwN7Gw2gFs6RQ0gmGm7YDGlBN5mvb'
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
